package com.yikekong.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties("emq")
@Data
public class EmqConfig {

    @Value("${spring.emq.mqttServerUrl}")
    private String mqttServerUrl;
}
